package user;

import Book.Booklist;
import ioperation.IPeration;

/**
 * Created with Interllij IDEA.
 * Descriptiption:
 * User: 王澄慧
 * Date: 2022-04-16
 * Time: 20:05
 */
public abstract class User {
    public IPeration[] iPerations;
    protected String name;
    public User(String name){
        this.name = name;
    }

    public abstract int mun();
    public void doiPrerations(int choice,Booklist booklist){

        iPerations[choice].work(booklist);
    }


}
